﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using MedicalCare.EntityDefinitions.Entities;

namespace MedicalCare.EntityMappings.EntityMaps
{
   public class ProvinceMapping: ClassMap<ProvinceEntity>
    {
        //Champion 2013/1/5
       public ProvinceMapping()
       {
           Table("ProvinceCode");
           Id(x => x.Id).Column("ProID").Not.Nullable();
           Map(x => x.Name).Column("ProName");
       }
    }
}
